package org.jash.ting13.entity

import org.jash.converters.Xpath

/**
 * Created by Jash
 */
data class BookDetail (
    @Xpath("//*[@class='book-img']//img/@src")
    val img:String,
    @Xpath("//*[@class='book-title']/text()")
    val title:String,
    @Xpath("//*[@class='book-info']//dd[position() = 1]/a/text()")
    val category:String,
    @Xpath("//*[@class='book-info']//dd[position() = 3]/a/text()")
    val author:List<String>,
    @Xpath("//*[@class='book-info']//dd[position() = 5]/a/text()")
    val boyin:List<String>,
    @Xpath("//*[@class='book-des']/text()")
    val des:String,
    @Xpath("//*[@id='playlist']//li/a")
    val playList:List<Chapter>,
    @Xpath("//*[@class='hd-sel']/select/count(option)")
    val totalPage:Int?
)